package com.che.software.testato.domain.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Class representing a hierarchy.
 * 
 * @author Clement HELIOU (clement.heliou@che-software.com).
 * @copyright Che Software.
 * @license GNU General Public License.
 * @see Serializable
 * @since July, 2011.
 * 
 *        This file is part of Testato.
 * 
 *        Testato is free software: you can redistribute it and/or modify it
 *        under the terms of the GNU General Public License as published by the
 *        Free Software Foundation, either version 3 of the License, or (at your
 *        option) any later version.
 * 
 *        Testato is distributed in the hope that it will be useful, but WITHOUT
 *        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *        FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 *        for more details.
 * 
 *        You should have received a copy of the GNU General Public License
 *        along with Testato. If not, see <http://www.gnu.org/licenses/>.
 * 
 *        Testato's logo is a creation of Arrioch
 *        (http://arrioch.deviantart.com/) and it's distributed under the terms
 *        of the Creative Commons License.
 */
public class Hierarchy implements Serializable {

	/**
	 * Constants.
	 */
	private static final long serialVersionUID = -2158924850260368866L;

	/**
	 * Members.
	 */
	private Boolean elicited = false;
	private Date creationDate, lastUpdateDate;
	private int actionPlanId, hierarchyId, responsableUserId, versionId;
	private String highLevelGoal;
	private Project project;
	private User user;
	private Version version;

	/**
	 * Getter for the private field value creationDate.
	 * 
	 * @return the creationDate field value.
	 */
	public Date getCreationDate() {
		return creationDate;
	}

	/**
	 * Setting a value to the creationDate field.
	 * 
	 * @param creationDate the value to set.
	 */
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	/**
	 * Getter for the private field value lastUpdateDate.
	 * 
	 * @return the lastUpdateDate field value.
	 */
	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}

	/**
	 * Setting a value to the lastUpdateDate field.
	 * 
	 * @param lastUpdateDate the value to set.
	 */
	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

	/**
	 * Getter for the private field value hierarchyId.
	 * 
	 * @return the hierarchyId field value.
	 */
	public int getHierarchyId() {
		return hierarchyId;
	}

	/**
	 * Setting a value to the hierarchyId field.
	 * 
	 * @param hierarchyId the value to set.
	 */
	public void setHierarchyId(int hierarchyId) {
		this.hierarchyId = hierarchyId;
	}

	/**
	 * Getter for the private field value responsableUserId.
	 * 
	 * @return the responsableUserId field value.
	 */
	public int getResponsableUserId() {
		return responsableUserId;
	}

	/**
	 * Setting a value to the responsableUserId field.
	 * 
	 * @param responsableUserId the value to set.
	 */
	public void setResponsableUserId(int responsableUserId) {
		this.responsableUserId = responsableUserId;
	}

	/**
	 * Getter for the private field value versionId.
	 * 
	 * @return the versionId field value.
	 */
	public int getVersionId() {
		return versionId;
	}

	/**
	 * Setting a value to the versionId field.
	 * 
	 * @param versionId the value to set.
	 */
	public void setVersionId(int versionId) {
		this.versionId = versionId;
	}

	/**
	 * Getter for the private field value highLevelGoal.
	 * 
	 * @return the highLevelGoal field value.
	 */
	public String getHighLevelGoal() {
		return highLevelGoal;
	}

	/**
	 * Setting a value to the highLevelGoal field.
	 * 
	 * @param highLevelGoal the value to set.
	 */
	public void setHighLevelGoal(String highLevelGoal) {
		this.highLevelGoal = highLevelGoal;
	}

	/**
	 * Getter for the private field value project.
	 * 
	 * @return the project field value.
	 */
	public Project getProject() {
		return project;
	}

	/**
	 * Setting a value to the project field.
	 * 
	 * @param project the value to set.
	 */
	public void setProject(Project project) {
		this.project = project;
	}

	/**
	 * Getter for the private field value version.
	 * 
	 * @return the version field value.
	 */
	public Version getVersion() {
		return version;
	}

	/**
	 * Setting a value to the version field.
	 * 
	 * @param version the value to set.
	 */
	public void setVersion(Version version) {
		this.version = version;
	}

	/**
	 * Getter for the private field value user.
	 * 
	 * @return the user field value.
	 */
	public User getUser() {
		return user;
	}

	/**
	 * Setting a value to the user field.
	 * 
	 * @param user the value to set.
	 */
	public void setUser(User user) {
		this.user = user;
	}

	/**
	 * Getter for the private field value actionPlanId.
	 * 
	 * @return the actionPlanId field value.
	 */
	public int getActionPlanId() {
		return actionPlanId;
	}

	/**
	 * Setting a value to the actionPlanId field.
	 * 
	 * @param actionPlanId the value to set.
	 */
	public void setActionPlanId(int actionPlanId) {
		this.actionPlanId = actionPlanId;
	}

	/**
	 * Getter for the private field value elicited.
	 * 
	 * @return the elicited field value.
	 */
	public Boolean getElicited() {
		return elicited;
	}

	/**
	 * Setting a value to the elicited field.
	 * 
	 * @param elicited the value to set.
	 */
	public void setElicited(Boolean elicited) {
		this.elicited = elicited;
	}
}